﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json.Linq;


namespace BigMelon.Controllers
{
    public class ProductController : Controller
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }


        public ActionResult App() 
        {
          
            
            return View("Products");
        }

        
        public void GetAppData() 
        {
            List<string> test = new List<string>();
            Response.Write(JToken.FromObject(test).ToString());
        }

        public ActionResult Type() 
        {
            var members = new List<string>();

            

            for (var i = 0; i < 100; i++) 
            {
                members.Add(string.Format("Test Member {0}",i));
            }

            ViewBag.Members = members;

            return View("ProductsCategories");
        }

    }
}
